package com.qsmx.store.app.main.mem.adapter;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import com.qsmx.store.app.R;
import com.qsmx.store.app.main.mem.holder.MemCurrentCardRecordHolder;

public class MemCurrentCardRecordAdapter extends RecyclerView.Adapter<MemCurrentCardRecordHolder> {

    private Context mContext;

    public MemCurrentCardRecordAdapter(Context mContext) {
        this.mContext = mContext;
    }

    @NonNull
    @Override
    public MemCurrentCardRecordHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {

        MemCurrentCardRecordHolder holder = new MemCurrentCardRecordHolder(LayoutInflater.from(mContext).inflate(R.layout.adapter_mem_current_card_record, viewGroup, false));

        return holder;
    }

    @Override
    public void onBindViewHolder(@NonNull MemCurrentCardRecordHolder memCurrentCardRecordHolder, int i) {

    }

    @Override
    public int getItemCount() {
        return 20;
    }
}
